from pydantic import BaseModel


# 定义登录请求模型
class LoginRequest(BaseModel):
    username: str
    password: str
    role: str  # 添加角色字段
